home *** CD-ROM | disk | FTP | other *** search
- As a number of people have pointed out, a bug in less causes
- a core dump when "less -?" is invoked. Here is a quick fix
- in ifile.c:
-
- *** ifile.c.170 Wed Mar 6 16:15:03 1991
- --- ifile.c.171 Wed Mar 6 16:15:08 1991
- ***************
- *** 153,158 ****
- --- 153,160 ----
- get_filename(ifile)
- IFILE ifile;
- {
- + if (ifile == NULL)
- + return (NULL);
- return (int_ifile(ifile)->h_filename);
- }
-
- My apologies for any inconvenience this may have caused.
-
- Mark Nudelman
- {uunet,sun,decwrl,hplabs}!pyramid!ctnews!unix386!mark
-
-
-